﻿<%@ Page Language="C#" AutoEventWireup="true"  MasterPageFile="~/Admin/Admin.Master"  CodeBehind="GlobalStats.aspx.cs" Inherits="Votations.NSurvey.WebAdmin.GlobalStats" %>
  <%@ Register TagPrefix="uc1" TagName="SurveyListControl" Src="UserControls/SurveyListControl.ascx" %>
  
<asp:Content ID="Content1" ContentPlaceHolderID="ContentLinkAction" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentTitle" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentMain" runat="server">
<LINK href="css/nsurveyadmin.css" type=text/css rel=stylesheet >
 <table class=TableLayoutContainer cellSpacing=0 cellPadding=0>
  <tr>
    <td class=contentCell vAlign=top><asp:label id=MessageLabel runat="server" Visible="False" ForeColor="Green"></asp:label>
      <table class=innerText>
        <tr>
          <td colSpan=2>
            <table>
              <tr>
                <td width="99%"><font class=titleFont 
                  ><asp:Literal id="SurveyStatisticsTitle" runat="server" EnableViewState="False">Survey statistics</asp:Literal></font> </td>
                <td align=right><uc1:surveylistcontrol id=SurveyList runat="server"></uc1:surveylistcontrol></td></tr></table><IMG src="images/linebreak.gif" > 
        </td></tr>
        <tr>
          <td>&nbsp;&nbsp; </td>
          <td>
            <table class=innerText>
              <tr>
                <td noWrap width=180><STRONG><asp:Literal id="SurveyCreationDateLabel" runat="server" EnableViewState="False">Creation date :</asp:Literal></STRONG> </td>
                <td width=480><asp:label id=CreationDateLabel runat="server"></asp:label></td></tr>
              <tr>
                <td width=180><STRONG><asp:Literal id="LastSurveyEntryLabel" runat="server" EnableViewState="False">Last entry on :</asp:Literal></STRONG> </td>
                <td><asp:label id=LastEntryDateLabel runat="server"></asp:label></td></tr>
              <tr>
                <td width=180><STRONG><asp:Literal id="SurveyDisplayTimesLabel" runat="server" EnableViewState="False">Display times :</asp:Literal></STRONG> </td>
                <td><asp:label id=DisplayTimesLabel runat="server"></asp:label></td></tr>
             <!-- <tr>
                <td width=180><STRONG><asp:Literal id="SurveyResultsDisplayTimesLabel" runat="server" EnableViewState="False">Results display times :</asp:Literal></STRONG> </td>
                <td><asp:label id=ResultsDisplayTimesLabel runat="server"></asp:label></td></tr>-->
              <tr>
                <td width=180><STRONG><asp:Literal id="SurveyNumberOfVotesLabel" runat="server" EnableViewState="False">Number of voters :</asp:Literal></STRONG> </td>
                <td><asp:label id=NumberOfVotersLabel runat="server"></asp:label></td></tr>
              <tr>
                <td width=280><STRONG><asp:Literal id="SaveProgressEntriesLabel" runat="server" EnableViewState="False" Text="Unvalidated progress entries :"></asp:Literal></STRONG> </td>
                <td><asp:label id="NumberSaveProgressEntriesLabel" runat="server"></asp:label>&nbsp;<asp:LinkButton id=DeleteSaveProgressLinkButton runat="server" onclick="DeleteSaveProgressLinkButton_Click">(delete all unvalidated entries)</asp:LinkButton></td></tr>
              <tr>
                <td width=180 valign="top"><STRONG><asp:Literal id="SurveyMonthlyStatsLabel" runat="server" EnableViewState="False">Monthly stats :</asp:Literal></STRONG> </td>
                <td><asp:Calendar id="StatsCalendar" runat="server" ForeColor="Black" Font-Names="Verdana" Font-Size="9pt" NextPrevFormat="ShortMonth" BackColor="White" Width="500px" Height="336px" BorderColor="Black" CellSpacing="1" BorderStyle="Solid" SelectionMode="None"><TODAYDAYSTYLE ForeColor="White" 
                  BackColor="#999999" 
                  Font-Size="XX-Small"></TODAYDAYSTYLE><DAYSTYLE 
                  BackColor="#CCCCCC" Font-Size="XX-Small" 
                  Font-Names="arial"></DAYSTYLE><NEXTPREVSTYLE ForeColor="White" 
                  Font-Size="XX-Small" 
                  Font-Bold="True"></NEXTPREVSTYLE><DAYHEADERSTYLE 
                  ForeColor="#333333" Height="8pt" Font-Size="XX-Small" 
                  Font-Names="arial" 
                  Font-Bold="True"></DAYHEADERSTYLE><SELECTEDDAYSTYLE 
                  ForeColor="White" 
                  BackColor="#333399"></SELECTEDDAYSTYLE><TITLESTYLE 
                  ForeColor="White" Height="12pt" BackColor="#006676" 
                  Font-Size="XX-Small" 
                  Font-Bold="True"></TITLESTYLE><OTHERMONTHDAYSTYLE 
                  ForeColor="#CCCCCC" 
                  Font-Size="XX-Small"></OTHERMONTHDAYSTYLE></asp:Calendar></td></tr>

</table><br 
            ><asp:button id=ResetVotesButton runat="server" Text="Reset votes!" onclick="ResetVotesButton_Click"></asp:button>
            </td></tr></table>
            
            </td></tr></table>
 
</asp:Content>
